<%-- 
    Document   : lista
    Created on : 27/01/2010, 03:34:13 PM
    Author     : doom
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="/WEB-INF/tlds/escuela" prefix="a" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Lista de Materias</title>
    </head>
    <body>
        <h1>Materias</h1>
        <a href="<%= request.getContextPath() %>">Inicio</a>
        <table>
            <thead>
                <tr>
                    <th>Clave</th>
                    <th>Nombre</th>
                    <th>Descripcion</th>
                    <th>Creditos</th>
                </tr>
            </thead>
            <tbody>

                <a:materias>
                    <tr>
                        <td><a href="edita?id=${materia.id}">${materia.clave}</a></td>
                        <td>${materia.nombre}</td>
                        <td>${materia.clave}</td>
                        <td>${materia.descripcion}</td>
                        <td>${materia.creditos}</td>

                    </tr>
                </a:materias>
            </tbody>
        </table>
    </body>
</html>
